LL HSEM APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, functions, and macros.

LL HSEM constants

HAL1

series

HAL2

LL_HSEM_COREID

h7

For dual-core devices: Not implemented yet in HAL2.

LL_HSEM_COREID_CPU1

h7

For dual-core devices: Not implemented yet in HAL2.

LL_HSEM_COREID_CPU2

h7

For dual-core devices: Not implemented yet in HAL2.

LL_HSEM_COREID_NONE

h7

LL_HSEM_LOCKID_NONE

LL HSEM macros

HAL1

series

HAL2

LL_HSEM_ReadReg

h7

LL_HSEM_READ_REG

LL_HSEM_WriteReg

h7

LL_HSEM_WRITE_REG

LL HSEM functions

HAL1

series

HAL2

Refer to

LL_HSEM_1StepLock

h7

LL_HSEM_1StepLock

Refer to

LL_HSEM_2StepLock

h7

LL_HSEM_2StepLock

Refer to

LL_HSEM_ClearFlag_C1ICR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_ClearFlag_C2ICR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_DisableIT_C1IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_DisableIT_C2IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_EnableIT_C1IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_EnableIT_C2IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_GetCoreId

h7

Removed / New Usage changes

Refer to

LL_HSEM_GetKey

h7

LL_HSEM_GetKey

Refer to

LL_HSEM_GetProcessId

h7

LL_HSEM_GetProcessId

Refer to

LL_HSEM_GetStatus

h7

Removed / New Usage changes

Refer to

LL_HSEM_IsActiveFlag_C1ISR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsActiveFlag_C1MISR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsActiveFlag_C2ISR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsActiveFlag_C2MISR

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsEnabledIT_C1IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsEnabledIT_C2IER

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to

LL_HSEM_IsSemaphoreLocked

h7

LL_HSEM_IsSemaphoreLocked

Refer to

LL_HSEM_ReleaseLock

h7

LL_HSEM_ReleaseLock

Refer to

LL_HSEM_ResetAllLock

h7

LL_HSEM_ResetAllLock

Refer to

LL_HSEM_SetKey

h7

LL_HSEM_SetKey

Refer to

LL_HSEM_SetLock

h7

For dual-core devices: Not implemented yet in HAL2.

Refer to